home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-08-25 | 25.1 KB | 1,351 lines |
- // ========================
- // BATTLEZONE ESCAPE SCREEN
- // (INPUT OPTIONS PAGE)
- // ========================
-
- //
- // CREATE INPUT CONFIGURATION PAGE
- //
- CreateControl("EscapeInput", "WINDOW")
- {
- Geometry("HCENTRE", "VCENTRE");
- Position(0, 5);
- Size(525, 345);
- BorderSize(10);
- BevelSize(5);
- TabSize(150, 10);
- Style("OUTLINE", "INERT");
- Title("Input Options");
- TitleFont("MEDIUM");
-
- // create forward control window
- CreateControl("Forward", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 0);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Forward");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.throttle_up.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.throttle_up.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.throttle_up.clear");
- }
- }
-
- // create reverse control window
- CreateControl("Reverse", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 35);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Reverse");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.throttle_down.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.throttle_down.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.throttle_down.clear");
- }
- }
-
- // create strafe left control window
- CreateControl("StrafeLeft", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 70);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Strafe Left");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.strafe_left.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.strafe_left.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.strafe_left.clear");
- }
- }
-
- // create strafe right control window
- CreateControl("StrafeRight", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 105);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Strafe Right");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.strafe_right.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.strafe_right.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.strafe_right.clear");
- }
- }
-
- // create pitch up window
- CreateControl("PitchUp", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 140);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Pitch Up");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.pitch_up.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.pitch_up.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.pitch_up.clear");
- }
- }
-
- // create pitch down control window
- CreateControl("PitchDown", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 175);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Pitch Down");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.pitch_down.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.pitch_down.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.pitch_down.clear");
- }
- }
-
- // create steer left control window
- CreateControl("SteerLeft", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 210);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Steer Left");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.steer_left.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.steer_left.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.steer_left.clear");
- }
- }
-
- // create steer right control window
- CreateControl("SteerRight", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 245);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Steer Right");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.steer_right.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.steer_right.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.steer_right.clear");
- }
- }
-
- // create jump control window
- CreateControl("Jump", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 280);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Jump");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.jump.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.jump.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.jump.clear");
- }
- }
-
- // create deploy control window
- CreateControl("Deploy", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(0, 315);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Deploy");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.deploy.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.deploy.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.deploy.clear");
- }
- }
-
- // create weapon fire control window
- CreateControl("WeaponFire", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 0);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Fire Weapon");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.weapon_fire.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.weapon_fire.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.weapon_fire.clear");
- }
- }
-
- // create weapon special control window
- CreateControl("WeaponSpecial", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 35);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Fire Special");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.weapon_special.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.weapon_special.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.weapon_special.clear");
- }
- }
-
- // create weapon next control window
- CreateControl("WeaponNext", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 70);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Next Weapon");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.weapon_next.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.weapon_next.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.weapon_next.clear");
- }
- }
-
- // create weapon prev control window
- CreateControl("WeaponPrev", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 105);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Prev Weapon");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.weapon_prev.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.weapon_prev.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.weapon_prev.clear");
- }
- }
-
- // create target control window
- CreateControl("Target", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 140);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Target");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.frontal_target.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.frontal_target.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.frontal_target.clear");
- }
- }
-
- // create drop nav control window
- CreateControl("DropNav", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 175);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Drop Nav");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.drop_beacon.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.drop_beacon.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.drop_beacon.clear");
- }
- }
-
- // create eject control window
- CreateControl("Eject", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 210);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Eject");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.eject.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.eject.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.eject.clear");
- }
- }
-
- // create abandon control window
- CreateControl("Abandon", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 245);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Abandon");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.abandon.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.abandon.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.abandon.clear");
- }
- }
-
- // create lights control window
- CreateControl("Lights", "WINDOW")
- {
- Style("TRANSPARENT", "INERT");
- Position(270, 280);
- Size(250, 30);
-
- // create control title
- CreateControl("Title", "STATIC")
- {
- Position(0, 0);
- Size(250, 10);
- JustifyText("LEFT");
- Text("Lights");
- Font("MEDIUM");
- Style("TRANSPARENT");
- }
-
- // create bind button
- CreateControl("Bind", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(5, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Bind");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Bind");
- }
-
- // create clear button
- CreateControl("Clear", "BUTTON")
- {
- ColorGroup("LISTBOX");
- Position(60, 20);
- Size(40, 5);
- BorderSize(5);
- BevelSize(3);
- Text("Clear");
- Font("SMALL");
- Style("ROLLOVER");
- NotifyParent("Button::Press", "Clear");
- }
-
- // create value display
- CreateControl("Value", "STATIC")
- {
- ColorGroup("BACKGROUND");
- Position(115, 20);
- Size(135, 5);
- BorderSize(5);
- BevelSize(3);
- Font("SMALL");
- JustifyText("LEFT");
- UseVar("inputbind.lights.value");
- }
-
- OnEvent("Bind")
- {
- Cmd("inputbind.lights.bind");
- }
-
- OnEvent("Clear")
- {
- Cmd("inputbind.lights.clear");
- }
- }
- }
-